package org.springblade.modules.repair.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tool.node.BaseNode;

/**
 * @Author ysq
 * @Date 2024/10/12
 * @Description
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ElevatorFloorStandTemplateTreeVO extends BaseNode<ElevatorFloorStandTemplateTreeVO> {

	private static final long serialVersionUID = 1L;

	/**
	 * 主键ID
	 */
	@JsonSerialize(using = ToStringSerializer.class)
	protected Long id;

	/**
	 * 父节点ID
	 */
	@JsonSerialize(using = ToStringSerializer.class)
	protected Long parentId;

    /**
     * 父节点名称
	 */
	private String parentName;

	/**
	 * 名称
	 */
	private String name;

	/**
     * 特殊标记 1-层站，2-门厅
	 */
	private Integer flag;

    /**
     * 电梯id
	 */
	@JsonSerialize(using = ToStringSerializer.class)
	private Long elevatorId;

	/**
	 * sku信息
	 */
	private String skuInfos;

	/**
	 * skuId集合
	 */
	private String skuIds;
}
